Attempting to manage the PIRQ namespace is not useful as guests can
assign any mapping of IRQ to PIRQ (although the identity mapping is
the most common). Change the internal names to reflect this change.
Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Committed-by: Keir Fraser <keir@xen.org>
ssec = current->domain->ssid;
tsec = d->ssid;
- rc = security_pirq_sid(pirq, &rsid);
+ rc = security_irq_sid(pirq, &rsid);
if ( rc )
return rc;
irq = domain_pirq_to_irq(d, bind->machine_irq);
- rc = security_pirq_sid(irq, &rsid);
+ rc = security_irq_sid(irq, &rsid);
if ( rc )
return rc;
int security_get_user_sids(u32 callsid, char *username, u32 **sids, u32 *nel);
-int security_pirq_sid(int pirq, u32 *out_sid);
+int security_irq_sid(int pirq, u32 *out_sid);
int security_iomem_sid(unsigned long, u32 *out_sid);
}
/**
- * security_pirq_sid - Obtain the SID for a physical irq.
+ * security_irq_sid - Obtain the SID for a physical irq.
* @pirq: physical irq
* @out_sid: security identifier
*/
-int security_pirq_sid(int pirq, u32 *out_sid)
+int security_irq_sid(int pirq, u32 *out_sid)
{
int rc = 0;
struct ocontext *c;